import { $t } from "@/plugins/i18n";
import { myprojects } from "@/router/enums";

export default {
  path: "/system/settings",
  redirect: "/system/settings/index",
  meta: {
    icon: "ep:setting",
    title: $t("menus.hsMySettings"),
    rank: myprojects
  },
  children: [
    {
      path: "/system/devices-properties/index",
      name: "devices-properties",
      component: () => import("@/views/system/devices-properties/index.vue"),
      meta: {
        title: $t("menus.hsMyDevicesProperties"),
        roles: ["admin"]
      }
    },
    {
      path: "/system/settings/index",
      name: "About",
      component: () => import("@/views/system/settings/index.vue"),
      meta: {
        title: $t("menus.hsMyLocalServer"),
        roles: ["admin"]
      }
    }
  ]
} as RouteConfigsTable;
